package com.lry.basic.design_mode.proxy;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/26
 */
public class UserServiceLog  implements Service{
    private Service service;
    public UserServiceLog(Service service){
        this.service = service;
    }
    @Override
    public void query() {
        System.out.println("log");
        service.query();
    }
}
